.product-detail {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 120rpx;
}

.loading-container,
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-size: 28rpx;
  color: #666;
}

/* 图片轮播 */
.image-carousel {
  white-space: nowrap;
  background: white;
  padding: 20rpx 0;
}

.product-image {
  display: inline-block;
  width: 600rpx;
  height: 400rpx;
  margin-right: 20rpx;
  border-radius: 12rpx;
}

.product-image:last-child {
  margin-right: 0;
}

/* 商品基本信息 */
.product-info {
  background: white;
  padding: 30rpx;
  margin-bottom: 20rpx;
}

.product-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin-bottom: 20rpx;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 15rpx;
  margin-bottom: 20rpx;
}

.current-price {
  font-size: 36rpx;
  color: #ff4757;
  font-weight: bold;
}

.original-price {
  font-size: 28rpx;
  color: #999;
  text-decoration: line-through;
}

.saved-price {
  font-size: 24rpx;
  color: #ff6b35;
  background: #fff5f0;
  padding: 8rpx 16rpx;
  border-radius: 12rpx;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 20rpx;
  margin-bottom: 20rpx;
}

.rating {
  font-size: 28rpx;
  color: #ffa500;
}

.hospital-name {
  font-size: 28rpx;
  color: #666;
}

.tags-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10rpx;
}

.tag {
  font-size: 24rpx;
  color: #00AF82;
  background: #f0f9f6;
  padding: 8rpx 16rpx;
  border-radius: 12rpx;
}

/* 医生信息 */
.doctor-info {
  background: white;
  padding: 30rpx;
  margin-bottom: 20rpx;
}

.doctor-header {
  margin-bottom: 20rpx;
}

.doctor-title {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
}

.doctor-detail {
  display: flex;
  align-items: center;
  gap: 20rpx;
}

.doctor-avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
}

.doctor-text {
  flex: 1;
}

.doctor-name {
  font-size: 28rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 8rpx;
}

.doctor-exp {
  font-size: 24rpx;
  color: #666;
}

/* 治疗信息 */
.treatment-info {
  background: white;
  padding: 30rpx;
  margin-bottom: 20rpx;
  display: flex;
  justify-content: space-around;
}

.info-item {
  text-align: center;
}

.info-label {
  font-size: 24rpx;
  color: #999;
  margin-bottom: 8rpx;
  display: block;
}

.info-value {
  font-size: 28rpx;
  color: #333;
  font-weight: bold;
}

/* 详情部分 */
.detail-section,
.features-section,
.suitable-section,
.precautions-section,
.contraindications-section,
.hospital-section {
  background: white;
  padding: 30rpx;
  margin-bottom: 20rpx;
}

.section-title {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 20rpx;
  display: block;
}

.description {
  font-size: 28rpx;
  color: #666;
  line-height: 1.6;
}

/* 特色列表 */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 15rpx;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15rpx;
}

.feature-icon {
  font-size: 24rpx;
  color: #00AF82;
  font-weight: bold;
}

.feature-text {
  font-size: 28rpx;
  color: #333;
}

/* 适合人群 */
.suitable-list {
  display: flex;
  flex-direction: column;
  gap: 15rpx;
}

.suitable-item {
  display: flex;
  align-items: center;
  gap: 15rpx;
}

.suitable-icon {
  font-size: 24rpx;
}

.suitable-text {
  font-size: 28rpx;
  color: #333;
}

/* 注意事项 */
.precautions-list {
  display: flex;
  flex-direction: column;
  gap: 15rpx;
}

.precaution-item {
  display: flex;
  align-items: flex-start;
  gap: 15rpx;
}

.precaution-icon {
  font-size: 24rpx;
  margin-top: 4rpx;
}

.precaution-text {
  font-size: 28rpx;
  color: #333;
  line-height: 1.5;
}

/* 禁忌症 */
.contraindications-list {
  display: flex;
  flex-direction: column;
  gap: 15rpx;
}

.contraindication-item {
  display: flex;
  align-items: flex-start;
  gap: 15rpx;
}

.contraindication-icon {
  font-size: 24rpx;
  margin-top: 4rpx;
}

.contraindication-text {
  font-size: 28rpx;
  color: #333;
  line-height: 1.5;
}

/* 医院地址 */
.hospital-address {
  font-size: 28rpx;
  color: #666;
  line-height: 1.5;
}

/* 底部操作栏 */
.bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 20rpx 30rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.action-left {
  display: flex;
  gap: 30rpx;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rpx;
}

.btn-icon {
  font-size: 32rpx;
}

.btn-text {
  font-size: 22rpx;
  color: #666;
}

.share-btn {
  color: #666;
}

.consult-btn {
  color: #00AF82;
}

.buy-btn {
  background: linear-gradient(135deg, #00AF82 0%, #00a676 100%);
  color: white;
  padding: 20rpx 40rpx;
  border-radius: 25rpx;
  font-size: 28rpx;
  font-weight: bold;
  box-shadow: 0 4rpx 12rpx rgba(0, 175, 130, 0.3);
}

.buy-btn:active {
  transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 375px) {
  .product-title {
    font-size: 28rpx;
  }
  
  .current-price {
    font-size: 36rpx;
  }
  
  .bottom-actions {
    padding: 15rpx 20rpx;
  }
}
